package com.northming.daytodo.controller.set;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/set")
public class SetController {
	
	/**
	 * 获取所有设置
	 * @return
	 */
	@ResponseBody
	@RequestMapping("/getAll")
	public Object getAll(String userId){
		
		Map<String, Object> map  = new HashMap<>();
		map.put("mailSend", true);
		map.put("showDelay", true);	
		
		return map;
	}
	
	
	
	
	
	
	
}
